package controller.edtEnseignant
{
	import model.Enseignant;
	import model.proxy.EdtProxy;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	 
	public class ObtenirListeSeancesEnseignantCommand extends SimpleCommand 
	{ 
		/** 
		 * Constructor 
		 */ 
		public function ObtenirListeSeancesEnseignantCommand() 
		{ 
			super(); 
		} 
		
		/** 
		 * Initialize all commands/controllers of the application 
		 */
		override public function execute(note : INotification) : void 
		{  
			var edtProxy:EdtProxy = facade.retrieveProxy(EdtProxy.NAME) as EdtProxy; 
			edtProxy.obtenirListeSeancesEnseignant(note.getBody() as Enseignant); 
		} 
	}
}